#ifndef glWin_h__
#define glWin_h__

#include "./glObject.h"
#include "./glPict.h"
namespace GLES
{
	class Painter;
	class Canvas;
	class Winlet : public Object
	{
		public:
			Winlet():_canvas(NULL),_painter(NULL){}
			~Winlet();
			virtual Void draw(Painter* painter = NULL);
			virtual Bool createFrom(HWND hwnd,SizeI& size);
		protected:
		Painter* _painter;
		Canvas* _canvas;
		
	};
}
#endif // glWin_h__